package com.office.personalFolders.myFolder.dao;

import com.office.personalFolders.myFolder.pojo.OaFile;
import com.office.personalFolders.myFolder.pojo.OaFolder;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface IsFolderDao {

    //根据条件查询所有文件夹
    public List<OaFolder> getAllFoldersByFolder(OaFolder oaFolder);

    //查询指定文件夹下的文件
    public List<OaFile> getOaFile(OaFile oaFile);

    //增加一个文件夹
    public Integer addFolder(OaFolder oaFolder);

    //修改文件夹（单个字段）
    public Integer updateFolder(OaFolder oaFolder);

    //修改文件夹大小和名称
    public Integer updateFolder1(OaFolder oaFolder);

}
